﻿using log4net;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using ZHJ.PerfectOA.Common;

namespace ZHJ.PerfectOA.WebApp.Controllers
{
    public class TestController : Controller
    {
        //
        // GET: /Test/

        public ActionResult Index()
        {
            int a = int.Parse("aa");

            //ILog logger = LogManager.GetLogger("Demo");
            // logger.Error(ex);//将错误信息写到Log4Net指定的日志文件中。
            //throw;
            return View();
        }

    }
}
